Method and arrangement for supressing duplicate network resources

ABSTRACT

A duplicate suppression protocol is introduced in order to suppress duplicate entries from appearing in a list of available network resources. With the duplicate suppression protocol of the present invention, a computer that wishes to query for network resources also asks for duplicate suppression information from the responding network resources. The duplicate suppression information for a particular network resource specifies identifiers associated with that network resource for various protocols. Thus, if a particular network resource responds to more than one network resource request from a single requesting entity, that requesting entity will be able to locate duplicate network resource information. Thus, a single unified list of network resources available for various different protocols may be presented with all duplicate network resources removed.

FIELD OF THE INVENTION

The present invention relates to the field of computer networking. In particular the present invention discloses a method and arrangement for discovering computer network resources and eliminating duplicate computer resources.

BACKGROUND OF THE INVENTION

To more efficiently use computer resources, most computer systems have been coupled into computer networks. A computer network allows the individual computer systems coupled to the computer network to share resources such as printers, modems, fax services, and Internet gateways. But more importantly, computer networks allow the different computer systems to share data using a number of different file sharing protocols such as File Transfer Protocol (FTP), Network File System (NFS), Windows Server Message Block (SMB), and Apple File Protocol (AFP).

In order to share computer files and other network resources, a computer system on a computer network must be informed about the various available network resources. Ideally, the computer network resources will be easily identified and displayed in an intuitive manner.

SUMMARY OF THE INVENTION

The present invention introduces a duplicate suppression protocol. With the duplicate suppression protocol of the present invention, a computer that wishes to query for network resources also asks for duplicate suppression information from the responding network resources. The duplicate suppression information for a particular network resource specifies identifiers associated with that network resource for various protocols. Thus, if a particular network resource responds to more than one network resource request from a single requesting entity, that requesting entity will be able to locate duplicate network resource information. Thus, a single unified list of network resources available for various different protocols may be presented with all duplicate network resources removed.

Other objects, features, and advantages of present invention will be apparent from the company drawings and from the following detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS

The objects, features, and advantages of the present invention will be apparent to one skilled in the art, in view of the following detailed description in which:

FIG. 1 illustrates a block diagram of computer systems coupled to three different Local Area Networks (LANs) and the global Internet.

FIG. 2 illustrates the computer network diagram of FIG. 1 wherein a few of the computer systems have been replaced with block diagrams.

FIG. 3 illustrates a flow diagram describing how duplicate network resources may be removed using the teachings of the present invention.

FIG. 4 illustrates one possible screen display of network resources wherein duplicates have been removed.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

A method and apparatus for discovering computer network resources and eliminating duplicate computer resources is disclosed. In the following description, for purposes of explanation, specific nomenclature is set forth to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. For example, the present invention has been described with reference to the Apple Macintosh Operating System. However, the same techniques can easily be applied to other types of Computer operating systems. Furthermore, the steps performed by the method herein described may be implemented with computer instructions that are stored on any recordable media such as CD-ROMs, DVD-ROMs, or magnetic disks.

Computer Networks

FIG. 1 illustrates a block diagram of various computer systems coupled to various computer networks. On the left side of FIG. 1, three computer systems 121, 123, and 125 are coupled to a first Local Area Network (LAN) 120. The LAN 120 may comprise any one of many different network media types such as 100Base-T Ethernet or Thin-net Ethernet. LAN 120 may actually be a wireless network such as IEEE 802.11b. By communicating across LAN 120 with a common protocol such as TCP/IP, computer systems 121, 123 and 125 may share computer files and other resources.

A network gateway or router 129 couples LAN 120 with another LAN 150. In this manner, computer systems 121, 123 and 125 on LAN 120 may also share computer files and other resources available on LAN 150. For example, computer system 121 may access a file on computer system 151 on LAN 150. A firewall 159 couples LAN 150 to the global Internet 170. Thus, computer systems 151 and 153 can access the Internet 170 through firewall 159. Similarly, computer systems 121, 123 and 125 may access the Internet 170 through router 129 and firewall 159.

Service Location

In order for a computer system to access a resource on a computer network, the computer system must have some type of address of the resource. There are three main systems of providing resource addresses to a computer on a network.

Preconfiguration

One method of informing a computer coupled to a network about the available services is to preconfigure the computer with the addresses of various computer resources. This technique is often accomplished by creating a “hosts” table that lists the names and addresses of other known hosts systems. For example, computer system 121 may be preconfigured with a hosts table that informs computer system 121 about computer system 123, computer systems 125, and server system 122 on the Local Area Network 120.

The preconfiguration technique is often used to provide a computer system with the network address of an available name server. The name server provides a service that allows the computer system to resolve alphanumeric names into network addresses. For example, computer systems 121, 123 and 125 may be preconfigured to use server 122 as a name server.

Preconfiguring computer systems with the addresses of other hosts is an extremely labor intensive administrative burden. For example, any time a new host is added or deleted to the local network, every other computer system must have its host table updated. Thus, most computer network systems do not rely upon preconfiguration as the only system of specifying network resources.

User Configuration

Another method of informing a computer system about available network resources is to have the user enter the addresses of network resources. To simplify entry, the network resources may be given alphanumeric names and the alphanumeric names may be translated into network addresses using a name server. Referring back to FIG. 1, a user of computer system 123 may enter in a name of a network resource. If necessary, computer system 123 may resolve the entered name using a name server such as name server 122.

The Internet has a unified Domain Name Service (DNS) that allows the owner of a top-level domain (TLD) to globally define the network address of any name within that top-level domain. For example, Apple Computer, Inc. owns the “apple.com” top-level domain such that Apple Computer may globally specify the network address of “Kevin.apple.com”. In this manner, any computer system coupled to the Internet requests the network address of “Kevin.apple.com” will receive the network address assigned by Apple Computer.

Allowing user configuration allows for new network resources to be easily added to a computer network at any time. For example, a new web site may be created and its name and address entered into the Domain Name Service (DNS). Then, when a user enters the Uniform Resource Locator (URL) associated with the web site (its name) into a browser, the browser will access a DNS server to locate the address of the new web site.

Although user configuration allows for relatively easy addition of new network resources, the system puts a burden upon the user. Furthermore, the user must properly enter the name of a new computer network resource or the use will not be able to locate the resource. Thus, if the user enters the network resource name incorrectly or does not know the name of a desired computer network resource, the user will not be able to access the desired computer network resource.

Automatic Network Resource Location

To simplify the location of network resources most network protocols have adopted some type of automatic resource location system. In a typical automatic network resource location system, a client computer system broadcasts a request message that asks for information about the available network resources. Network resources that receive the broadcast request respond with a message that informs the requesting client computer system about the available network resource. Thus, with an automatic resource location system, a user may easily locate the available network resources.

Most computer network protocols have new implemented some type of automatic resource location system. For example, the TCP/IP protocol used by the global Internet and used in many internal “intranets” (internal networks built using Internet protocols) uses an automatic resource location system known as Service Location Protocol (SLP). The Service Location Protocol is one method of locating TCP/IP-based network resources on a TCP/IP intranet. Detailed information on SLP can be found in the Internet Engineering Task Force (IETF) Request For Comments (RFC) document number 2608 (simply known as RFC 2608). Apple Computer's AppleTalk protocol has long provided a very intuitive automatic network resource location system known as Name Binding Protocol (NBP).

The operation of a typical automatic resource location system can be provided with reference to FIG. 1. Referring to FIG. 1, computer system 121 may broadcast a network resource request message in search of network resources. Computer systems 123, 125, 151, and 153; and server systems 122 and 159 may respond to the network resource request message with an appropriate response message that specifies their available network resources (file service, printers, etc.).

To limit the number of resources that report, the broadcast request message may limit the scope of the broadcast. For example, in the TCP/IP Service Location Protocol (SLP), the SLP request message may only be broadcast to the local subnet. (Such a limited broadcast can be performed by sending a multicast packet to the local subnet.) Referring again to FIG. 1, computer system 121 may send a network resource request message that is only directed to network nodes on the local subnet defined by Local Area Network 120. In such a case, only computer system 123, computer system 125, and server system 122 will receive the network resource request. Thus, only computer system 123, computer system 125, and server system 122 will respond to the network resource request message with an appropriate response message that specifies their available network resources (file service, printers, etc.).

Resource Duplication

Many different computer network protocols have evolved over time such that most computer networks actually carry multiple different computer network protocols. For example, a local area network that provides computer network services to Apple Macintosh personal computers, Microsoft Windows based personal computers, and UNIX workstations may carry network packets for the AppleTalk File Protocol (AFP) often used by Macintosh computer systems, the Windows Server Message Block (SMB) protocol often used by Microsoft Windows-based computer systems, and the Network File System (NFS) used by most UNIX workstations.

To provide maximum flexibility, compatibility, and interoperability, many computer systems now simultaneously support multiple different network communication protocols. For example, a MacOS X based Macintosh computer system may simultaneously support the AppleTalk File Protocol (AFP), the Windows Server Message Block (SMB) protocol, and the Network File System (NFS). In this manner, just about any other networked computer system will be able to easily communicate with the Macintosh computer system.

A computer system that simultaneously supports multiple network communication protocols will respond to automatic resource location requests for all of the different network communication protocols that it supports. For example, if a MacOS X based Macintosh computer system receives a Windows SMB-based CIFS request message, a TCP/IP SLP request message, or an AppleTalk NBP request message, then that MacOS X based Macintosh computer system will respond with an appropriate response message in the appropriate protocol. If the MacOS X based Macintosh computer system receives all three of these different network resource request messages, then that Macintosh computer system will send three independent appropriate response messages.

Referring to the example of the previous paragraph, if the three network resource request messages all originated from the same requesting computer system, then that requesting computer system will receive three independent responses from the same Macintosh computer system. Thus, the requesting computer system will seem to “see” three different computer network resources (one for each different network protocol) even though there is really only one independent computer network resource. These duplicate computer network resources unnecessarily confuse the user of the requesting computer system. Even though all three different network resources refer to the same computer node, the fact that three different (but likely similar) network resources are displayed as available may confuse the user.

Resource Duplicate Suppression

To prevent such network resource duplicates, the present invention introduces a network resource duplicate suppression system. The network resource duplicate suppression system prevents individual computer resources that support multiple protocols from appearing many times in a list of available network resources (once for each different supported protocol).

The network resource duplicate suppression system of the present invention operates by first having a requesting computer system broadcast a duplicate suppression request packet. Computer network nodes that receive the duplicate suppression request packet and support more than one protocol should respond with an appropriate duplicate suppression response packet. The duplicate suppression response packet specifies identifiers for the responding computer system in the various different network protocols. The requesting computer system then uses the information in the duplicate suppression response packet to eliminate duplicate computer network resources.

To best illustrate the network resource duplicate suppression system, an example will be provided with reference to FIG. 2 and FIG. 3. FIG. 2 illustrates the network diagram of FIG. 1 where computer systems 123, 125, and 122 have been replaced with computer node block diagrams 223, 225, and 222, respectively. The computer system nodes 223, 225, and 222 illustrate the supported protocols of those units. For example, computer server system 122 has been replaced with node 22 that supports the Windows CIFS protocol 241, the TCP/IP NFS protocol 242, and the AppleTalk File Protocol (AFP) 243. FIG. 3 illustrates a list of steps used to locate local network resources while eliminating duplicate network resources.

Referring to FIGS. 2 and 3, computer system 221 first broadcasts a duplicate suppression request packet at step 310. In one embodiment, this is a limited broadcast such as a broadcast only to nodes on LAN 220. Computer system nodes 223, 225, and 222 each receive the limited broadcast of the duplicate suppression request packet. Each system that receives the duplicate suppression request packet should respond with an appropriate duplicate suppression response. (However, as will be seen, a duplicate suppression response is not always required.)

Computer node 223 only supports one protocol, the Windows CIFS protocol 261. Since computer node 223 only supports one protocol, it will only respond to one automatic network resource request such that it will not create duplicate network resource responses. Since computer system node 223 will not create duplicate network resource responses, it does not need to send a duplicate suppression response in response to the duplicate suppression request. In this manner, the duplicate suppression system remains backward compatible with existing single protocol computer systems that are not aware of the duplicate suppression protocol. However, a system that only currently supports a single protocol, such as computer node 223, may elect to send a duplicate response anyway.

Computer server node 222 supports the Windows CIFS protocol 241, the Network File System protocol 242, and the AppleTalk File Protocol 233. Since network resource requests will independently discover all three of these different protocols, computer server node 222 should respond to the duplicate suppression request from node 221 with a duplicate suppression response message.

In one embodiment, the duplicate suppression response message comprises a list of identifiers of the computer node for the various different protocols in a well-known order. For example, the duplicate suppression response message may contain “Karnold; Kev'sPowerbook; afp://karnold.apple.com/; karnold.apple.com” wherein “Karnold” is the node identifier for a Windows SMB node, “Kev'sPowerbook” is the node identifier for an AppleTalk File Protocol node, “afp://karnold.apple.com/” is an SLP identifier, and “karnold.apple.com” is a multicast-DNS (mDNS) identifier. (Multicast-DNS is a way of using familiar DNS programming interfaces, packet formats and operating semantics, in a small network where no conventional DNS server has been installed.)

In one embodiment, the responding systems only send a duplicate suppression response message that contains only a hash of the identifier. For example, instead of sending a response message containing “Karnold; Kev'sPowerbook; afp://karnold.apple.com/; karnold.apple.com”, the duplicate suppression response message may contain “23433; 62485; 14753; 30732;” where the four numerical values are hashes of the identifier strings.

Referring again to FIG. 2, computer node 225 supports both the Windows CIFS protocol 231 and the AppleTalk File Protocol 233. Thus, computer node 225 responds with a duplicate suppression response message specifying the identifiers of those two protocols. Identifiers associated with unsupported protocols may also be sent but those identifiers will not be used.

Referring back to FIG. 3, the requesting computer system (computer system 221 of FIG. 2) receives the duplicate suppression response messages at step 315. Requesting computer system 221 stores the received duplicate suppression response messages for later use.

Next, at step 320, requesting computer system 221 broadcasts a network resource request for one of the protocols that it supports. At step 325, computer system 221 receives network resource responses for that protocol. For example, if the network resource request was for the Windows CIFS protocol, then computer node 221 will receive network resource responses from node 222, node 223, and node 225.

At step 330, the system determines if additional protocols are supported by network node 221. If additional network nodes are supported, the system returns to step 320 to broadcast additional network resource requests in another protocol. For example, the system may return to step 320 to broadcast an AppleTalk resource request. After broadcasting such a request, the node 221 will receive AppleTalk resource response messages from nodes 222 and 225.

After requesting resources for all the supported protocols, the system proceeds to step 340 to begin eliminating duplicates. At step 340, computer node 221 compares a first network response message with the duplicate suppression responses received. If an identifier in the network response message is not in a duplicate suppression response, as tested in step 350, the system adds the information from that network response message into a list of available network resources at step 360. This completes the processing of that first network response message.

If an identifier in the network response message is in a duplicate suppression response, then the system proceeds to step 370 where the system tests if that network resource has already been added to the network resource list. If that network resource has not yet been added to the network resource list, then that network resource is added at step 360. However, if the network resource has already been added, then the system does not need to add that network resource again since such an entry would be a duplicate. Thus, the system could proceed directly to step 390.

However, in one embodiment, the system may instead determine at step 380 if the network resource response is associated with a better protocol than the protocol already associated with the network resource is the network resource list. If this duplicate network resource response is associated with a better (or preferred) protocol, then the system may proceed to step 385 where the current listing for the network resource is removed and a new network resource listing is added for the preferred protocol. Since steps 380 and 385 are optional, those steps are illustrated with dotted lines.

After completing the processing of the first network resource response, the system proceeds to step 390. At step 390, the system determines if the final network resource response message has been processed. If there are additional network resource response messages to process then the system proceeds back to step 340 to process the next network resource response message.

Once all the network resource response messages have been processed, then computer node 221 displays the network resource list at step 395. FIG. 4 illustrates an example of a screen display of a final network resource list that may be displayed after a computer system has sent out requests to obtain all the “local” network resources and then removed the duplicates. The right-hand column lists a number of different network resources that may use different protocols but the resources are all listed together in one simple list. Furthermore, the network resources listed in the right-hand column may be able to operate with more than one different protocol, yet only one listing is provided for each unique network resource. The “network” listing will allow a user to locate network resources for a specifically selected network protocol.

FIG. 3 illustrates one possible embodiment. In a more optimized embodiment, the duplicate suppression request and the all the automatic network resource requests are performed at the same time. Thus, the discovery of duplicate suppression information and network resources performed in steps 310 to 330 may be performed in parallel. The creation of a network resource list commences when the duplicate suppression search is completed. The creation of a network resource list then begins. The network resource list may be created while network resource responses are still being received. As the network resource list is being created, the steps to prevent duplicate entries and replace existing entries described in steps 340 to 390 are performed.

The foregoing has described a method and arrangement for discovering computer network resources and eliminating duplicate computer resources. It is contemplated that changes and modifications may be made by one of ordinary skill in the art, to the materials and arrangements of elements of the present invention without departing from the scope of the invention. 

1. A method of identifying computer network resources on a computer network and preventing network resource duplication, said method comprising: receiving a duplicate suppression message for indicating that a network node has different identifiers in different protocols, the duplicate suppression message received from the network node across said computer network, said duplicate suppression message including: a first identifier that identifies the network node in a first protocol; and a second identifier that identifies the network node in a second protocol, wherein the first and second identifiers are either strings or hash values of the strings; receiving a first network resource message from said network node, said first network resource message comprising a third identifier identifying the network node in said first protocol; receiving a second network resource message from said network node, said second network resource message comprising a fourth identifier identifying the network node in said second protocol, wherein said second resource message does not have identical content to said first resource message; and in order to prevent network resource duplication, comparing respectively said first and second identifiers in said duplicate suppression message with the third and fourth identifiers in the first and second network resource messages to determine that said first network resource message and said second network resource message are from a single network node.
 2. The method of claim 1 further comprising creating a list of network resources, said list of network resources comprising only one entry for said network node.
 3. The method of claim 1 further comprising sending a duplicate suppression request.
 4. The method of claim 3, wherein said duplicate suppression request is broadcast onto said computer network.
 5. The method of claim 4, wherein said broadcast comprises a limited broadcast.
 6. The method of claim 5, wherein said limited broadcast comprises a multicast to a subnet.
 7. The method of claim 1, wherein said first identifier comprises an alphanumeric string.
 8. The method of claim 1 further comprising selecting a preferred protocol between said first protocol and said second protocol.
 9. The method of claim 1 further comprising sending a first network resource request.
 10. The method of claim 1, wherein: said first network resource message comprises a string; and said first identifier comprises a hash of said string.
 11. A computer readable medium storing a computer program which when executed by at least one processor identifies computer network resources on a computer network and prevents network resource duplication, the computer program comprising: a set of instructions for receiving a duplicate suppression message for indicating that a network node has different identifiers in different protocols, the duplicate suppression message received from the network node across said computer network, said duplicate suppression message including: a first identifier that identifies the network node in a first protocol; and a second identifier that identifies the network node in a second protocol, wherein the first and second identifiers are either strings or hash values of the strings; a set of instructions for receiving a first network resource message from said network node, said first network resource message comprising a third identifier identifying the network node in said first protocol; a set of instructions for receiving a second network resource message from said network node, said second network resource message comprising a fourth identifier identifying the network node in said second protocol, wherein said second resource message does not have identical content to said first resource message; and a set of instructions for comparing respectively said first and second identifiers in said duplicate suppression message with the third and fourth identifiers in the first and second network resource messages to determine that said first network resource message and said second network resource message are from a single network node in order to prevent network resource duplication.
 12. The computer readable medium of claim 11, wherein the computer program further comprises a set of instructions for creating a list of network resources, said list of network resources comprising only one entry for said network node.
 13. The computer readable medium of claim 11, wherein the computer program further comprises a set of instructions for sending a duplicate suppression request.
 14. The computer readable medium of claim 11, wherein said duplicate suppression request is broadcast onto said computer network.
 15. The computer readable medium of claim 14, wherein said broadcast comprises a limited broadcast.
 16. The computer readable medium of claim 15, wherein said limited broadcast comprises a multicast to a subnet.
 17. The computer readable medium of claim 11, wherein said first identifier comprises an alphanumeric string.
 18. The computer readable medium of claim 11, wherein the computer program further comprises a set of instructions for selecting a preferred protocol between said first protocol and said second protocol.
 19. The computer readable medium of claim 11, wherein the computer program further comprises a set of instructions for sending a first network resource request.
 20. The computer readable medium of claim 11, wherein: said first network resource message comprises a string; and said first identifier comprises a hash of said string.
 21. The computer readable medium of claim 11, wherein the medium is a computer recordable medium.
 22. A duplicate suppression system for identifying resources on a computer network and preventing network resource duplication, said system comprising: a computer network resource identified by a first name in a first protocol and a second name in a second protocol different than the first; and a computer for receiving from the computer network resource: a) a duplicate suppression message for indicating that the resource is identified by the first name in the first protocol and the second name in the second protocol, the duplicate suppression message including (i) a first identifier that identifies the network node in the first protocol and (ii) a second identifier that identifies the network node in the second protocol, wherein the first and second identifiers are either strings or hash values of the strings; b) a first network response message comprising a third identifier identifying the network node in the first protocol; and c) a second network response message comprising a fourth identifier identifying the network node in the second protocol, wherein said computer compares respectively said first and second identifiers in said duplicate suppression message to determine whether said second network response message and said first network response message are redundant in order to prevent network resource duplication.
 23. The system of claim 22, wherein said computer broadcasts over said computer network: a) a duplicate suppression request for soliciting duplicate suppression responses identifying network resources by different names in different protocols; b) a first network resource request for said first protocol; and c) a second network resource request for said second protocol.
 24. The system of claim 23, wherein said computer network resource receives said duplicate suppression request, said first request, and said second request.
 25. A method of identifying network resources on a computer network and preventing duplicate network resources, said method comprising: from a network node, receiving a first message that includes a first identifier that is an identification of the network node for a first protocol; from the network node, receiving a second message that includes a second identifier that is an identification of the network node for a second protocol, wherein said first and second identifiers are different; sending a duplicate suppression request across the computer network; from the network node, receiving a duplicate suppression message, said duplicate suppression message comprising third and fourth identifiers that provide the identification of the network node respectively in the first and second protocols; using said third and fourth identifiers in the duplicate suppression message to determine that the first and second identifiers are for the same network node; and storing only one of the first and second identifiers as an entry for the network node in a list of network resources in order to prevent network resource duplication.
 26. The method of claim 25, wherein the first identifier is stored, wherein the first protocol is preferred over the second protocol.
 27. A computer readable medium storing a computer program which when executed by at least one processor identifies network resources on a computer network and prevents network resource duplication, the computer program comprising: a set of instructions for receiving, in a first message from a network node, a first identifier that provides an identification of the network node for a first protocol; a set of instructions for receiving, in a second message from the network node, a second identifier that provides an identification of the network node for a second protocol, wherein said first and second identifiers are different; a set of instructions for sending a duplicate suppression request across the computer network; a set of instructions for receiving a duplicate suppression message from the network node across said computer network, said duplicate suppression message comprising third and fourth identifiers that provide the identification of the network node respectively in the first and second protocols; a set of instructions for using said third and fourth identifiers in the duplicate suppression message to determine that the first and second identifiers are for the same network node; a set of instructions for determining which of the first protocol and the second protocol is a preferred protocol; and a set of instructions for storing one of the first identifier and the second identifier that is an identification of the network node in the preferred protocol as an entry for the network node in a list of network resources in order to prevent network resource duplication.
 28. The computer readable medium of claim 27, wherein said computer program further comprises: a) a set of instructions for sending a first network resource request for said first protocol across the network; b) a set of instructions for sending a second network resource request for said second protocol across the network.
 29. The computer readable medium of claim 27, wherein the computer program further comprises a set of instructions for determining that the first identifier and the second identifier are identifiers of the same network node.
 30. The computer readable medium of claim 27, wherein the medium is a computer recordable medium. 